﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SkyFab.Master" AutoEventWireup="true" CodeBehind="AddProduct.aspx.cs" Inherits="Web.AddProduct" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="SubMenuPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Label ID="FlashMessageLabel" runat="server"></asp:Label>
    <h1>Add Product</h1>

     <div class="span-10">
     <fieldset>
     <legend>Fillup Product Information</legend>

     <p>
     <label>No:</label>
     </p>
     <p>
     <asp:TextBox ID="ProductNoTextBox" runat="server" CssClass="text"></asp:TextBox>
     <asp:RequiredFieldValidator ID="ProductNoTextBoxRequiredFieldValidator" runat="server" ErrorMessage="*" ControlToValidate="ProductNoTextBox" ForeColor="Red"></asp:RequiredFieldValidator>
     </p>

     <p>
     <label>Name:</label>
     </p>
     <p>
     <asp:TextBox ID="ProductNameTextBox" runat="server" CssClass="text"></asp:TextBox>
     <asp:RequiredFieldValidator ID="ProductNameTextBoxRequiredFieldValidator" runat="server" ErrorMessage="*" ControlToValidate="ProductNoTextBox" ForeColor="Red"></asp:RequiredFieldValidator>
     </p>

     <p>
     <label>Rev.: </label>
     </p>
     <p>
     <asp:TextBox ID="RevTextBox" runat="server" CssClass="text"></asp:TextBox>
     <asp:RequiredFieldValidator ID="RevTextBoxRequiredFieldValidator" runat="server" ErrorMessage="*" ControlToValidate="ProductNoTextBox" ForeColor="Red"></asp:RequiredFieldValidator>
     </p>

     <p>
     <label>Category:</label>
     </p>
     <p>
     <asp:DropDownList ID="CategoryDropDownList" runat="server"></asp:DropDownList>
     </p>

     <p>
     <label>Type:</label>
     </p>
     <p>
     <asp:DropDownList ID="TypeDropDownList" runat="server" ></asp:DropDownList>
     </p>

     <p>
    <label>Currently In Use:</label>
    <asp:CheckBox ID="VisibilityCheckBox" Checked="True" runat="server" />
    </p>

     <p>
     <label>Description:</label>
     </p>
     <p>
     <asp:TextBox ID="DescTextBox" runat="server" Height="52px" TextMode="MultiLine" CssClass="span-7"></asp:TextBox>
     </p>

     <p>
     <label>Remark:</label>
     </p>
     <p>
     <asp:TextBox ID="RemarkTextBox" runat="server" Height="52px" TextMode="MultiLine" CssClass="span-7"></asp:TextBox>
     </p>
     </fieldset>
     </div>

     <div class="span-10">
     <asp:Button ID="SubmitButton" runat="server" Text="Submit" 
                        onclick="SubmitButton_Click" CssClass="submitButton" />
     <input id="Reset1" type="reset" value="Reset" class="submitButton" />
     </div>

</asp:Content>
